package kxfang.com.common.bean;

import androidx.annotation.Nullable;

import java.util.List;

public class ConditionModel {

    private List<LabelBean> buildFang;
    private List<LabelBean> buildFangSModel;
    private List<LabelBean> emplbqCondition;
    private List<LabelBean> emplbqConditionSModel;
    private List<LabelBean> buildZjSalePrice;
    private List<LabelBean> buildZjSalePriceSModel;
    private List<LabelBean> buildDjSalePrice;
    private List<LabelBean> buildDjSalePriceSModel;
    private List<LabelBean> houseSaleTotal;
    private List<LabelBean> houseSaleTotalSModel;
    private List<LabelBean> houseBuiltArea;
    private List<LabelBean> houseBuiltAreaSModel;
    private List<LabelBean> houseZuTotal;
    private List<LabelBean> houseZuTotalSModel;
    private List<LabelBean> displayNameFr;
    private List<LabelBean> houseCZType;
    private List<LabelBean> buildHouseClasses;
    private List<LabelBean> buildHouseClassesSModel;
    private List<LabelBean> houseFangSort;
    private List<LabelBean> houseFangSortSModel;
    private List<LabelBean> housebuildSort;
    private List<LabelBean> housebuildSortSModel;
    private List<LabelBean> houseRentSort;
    private List<LabelBean> houseRentSortSModel;
    private List<LabelBean> housexqSort;
    private List<LabelBean> housexqSortSModel;
    private List<LabelBean> xqAveragePrice;
    private List<LabelBean> xqAveragePriceSModel;
    private List<LabelBean> housebuildlx;
    private List<LabelBean> housebuildlxSModel;
    private List<LabelBean> reportItem;
    private List<LabelBean> storeFeedItem;
    private List<LabelBean> IndustryType;
    private List<LabelBean> MainTypes;
    private List<LabelBean> houseMoreAppVoList;
    private List<LabelBean> rentMoreAppVoList;
    private List<LabelBean> newMoreAppVoList;
    private List<LabelBean> entrustAppVoList;
    private List<LabelBean> webHouseAppVoList;
    private List<LabelBean> payType;
    private List<LabelBean> payTypeSModel;
    private List<LabelBean> distributionType;
    private List<LabelBean> distributionTypeSModel;
    private List<LabelBean> distributionFee;
    private List<LabelBean> distributionFeeSModel;
    private List<LabelBean> serverPromise;
    private List<LabelBean> serverPromiseSModel;
    private List<LabelBean> discountInfo;// 配送设置
    private List<LabelBean> discountInfoSModel;
    private List<LabelBean> receiveLabel;
    private List<LabelBean> receiveLabelSModel;
    private List<LabelBean> topClass;// 房源置顶类型
    private List<LabelBean> topClassSMode;// 单选还是多选
    private List<LabelBean> storeLabel;
    private List<LabelBean> storeLabelSModel;
    private List<LabelBean> agentCompany;
    private List<LabelBean> storeSort;// 店铺排序
    private List<LabelBean> storeSortSModel;
    private List<LabelBean> evaluateItem;// 评价
    private List<LabelBean> evaluateItemSModel;
    private List<LabelBean> riderLabel;
    private List<LabelBean> riderLabelSModel;
    private List<LabelBean> supportFacilit;//配套设施
    private List<LabelBean> houseType;

    public List<LabelBean> getHouseType() {
        return houseType;
    }

    public void setHouseType(List<LabelBean> houseType) {
        this.houseType = houseType;
    }

    public List<LabelBean> getSupportFacilit() {
        return supportFacilit;
    }

    public void setSupportFacilit(List<LabelBean> supportFacilit) {
        this.supportFacilit = supportFacilit;
    }

    public List<LabelBean> getBuildFang() {
        return buildFang;
    }

    public void setBuildFang(List<LabelBean> buildFang) {
        this.buildFang = buildFang;
    }

    public List<LabelBean> getBuildFangSModel() {
        return buildFangSModel;
    }

    public void setBuildFangSModel(List<LabelBean> buildFangSModel) {
        this.buildFangSModel = buildFangSModel;
    }

    public List<LabelBean> getEmplbqCondition() {
        return emplbqCondition;
    }

    public void setEmplbqCondition(List<LabelBean> emplbqCondition) {
        this.emplbqCondition = emplbqCondition;
    }

    public List<LabelBean> getEmplbqConditionSModel() {
        return emplbqConditionSModel;
    }

    public void setEmplbqConditionSModel(List<LabelBean> emplbqConditionSModel) {
        this.emplbqConditionSModel = emplbqConditionSModel;
    }

    public List<LabelBean> getBuildZjSalePrice() {
        return buildZjSalePrice;
    }

    public void setBuildZjSalePrice(List<LabelBean> buildZjSalePrice) {
        this.buildZjSalePrice = buildZjSalePrice;
    }

    public List<LabelBean> getBuildZjSalePriceSModel() {
        return buildZjSalePriceSModel;
    }

    public void setBuildZjSalePriceSModel(List<LabelBean> buildZjSalePriceSModel) {
        this.buildZjSalePriceSModel = buildZjSalePriceSModel;
    }

    public List<LabelBean> getBuildDjSalePrice() {
        return buildDjSalePrice;
    }

    public void setBuildDjSalePrice(List<LabelBean> buildDjSalePrice) {
        this.buildDjSalePrice = buildDjSalePrice;
    }

    public List<LabelBean> getBuildDjSalePriceSModel() {
        return buildDjSalePriceSModel;
    }

    public void setBuildDjSalePriceSModel(List<LabelBean> buildDjSalePriceSModel) {
        this.buildDjSalePriceSModel = buildDjSalePriceSModel;
    }

    public List<LabelBean> getHouseSaleTotal() {
        return houseSaleTotal;
    }

    public void setHouseSaleTotal(List<LabelBean> houseSaleTotal) {
        this.houseSaleTotal = houseSaleTotal;
    }

    public List<LabelBean> getHouseSaleTotalSModel() {
        return houseSaleTotalSModel;
    }

    public void setHouseSaleTotalSModel(List<LabelBean> houseSaleTotalSModel) {
        this.houseSaleTotalSModel = houseSaleTotalSModel;
    }

    public List<LabelBean> getHouseBuiltArea() {
        return houseBuiltArea;
    }

    public void setHouseBuiltArea(List<LabelBean> houseBuiltArea) {
        this.houseBuiltArea = houseBuiltArea;
    }

    public List<LabelBean> getHouseBuiltAreaSModel() {
        return houseBuiltAreaSModel;
    }

    public void setHouseBuiltAreaSModel(List<LabelBean> houseBuiltAreaSModel) {
        this.houseBuiltAreaSModel = houseBuiltAreaSModel;
    }

    public List<LabelBean> getHouseZuTotal() {
        return houseZuTotal;
    }

    public void setHouseZuTotal(List<LabelBean> houseZuTotal) {
        this.houseZuTotal = houseZuTotal;
    }

    public List<LabelBean> getHouseZuTotalSModel() {
        return houseZuTotalSModel;
    }

    public void setHouseZuTotalSModel(List<LabelBean> houseZuTotalSModel) {
        this.houseZuTotalSModel = houseZuTotalSModel;
    }

    public List<LabelBean> getDisplayNameFr() {
        return displayNameFr;
    }

    public void setDisplayNameFr(List<LabelBean> displayNameFr) {
        this.displayNameFr = displayNameFr;
    }

    public List<LabelBean> getHouseCZType() {
        return houseCZType;
    }

    public void setHouseCZType(List<LabelBean> houseCZType) {
        this.houseCZType = houseCZType;
    }

    public List<LabelBean> getBuildHouseClasses() {
        return buildHouseClasses;
    }

    public void setBuildHouseClasses(List<LabelBean> buildHouseClasses) {
        this.buildHouseClasses = buildHouseClasses;
    }

    public List<LabelBean> getBuildHouseClassesSModel() {
        return buildHouseClassesSModel;
    }

    public void setBuildHouseClassesSModel(List<LabelBean> buildHouseClassesSModel) {
        this.buildHouseClassesSModel = buildHouseClassesSModel;
    }

    public List<LabelBean> getHouseFangSort() {
        return houseFangSort;
    }

    public void setHouseFangSort(List<LabelBean> houseFangSort) {
        this.houseFangSort = houseFangSort;
    }

    public List<LabelBean> getHouseFangSortSModel() {
        return houseFangSortSModel;
    }

    public void setHouseFangSortSModel(List<LabelBean> houseFangSortSModel) {
        this.houseFangSortSModel = houseFangSortSModel;
    }

    public List<LabelBean> getHousebuildSort() {
        return housebuildSort;
    }

    public void setHousebuildSort(List<LabelBean> housebuildSort) {
        this.housebuildSort = housebuildSort;
    }

    public List<LabelBean> getHousebuildSortSModel() {
        return housebuildSortSModel;
    }

    public void setHousebuildSortSModel(List<LabelBean> housebuildSortSModel) {
        this.housebuildSortSModel = housebuildSortSModel;
    }

    public List<LabelBean> getHouseRentSort() {
        return houseRentSort;
    }

    public void setHouseRentSort(List<LabelBean> houseRentSort) {
        this.houseRentSort = houseRentSort;
    }

    public List<LabelBean> getHouseRentSortSModel() {
        return houseRentSortSModel;
    }

    public void setHouseRentSortSModel(List<LabelBean> houseRentSortSModel) {
        this.houseRentSortSModel = houseRentSortSModel;
    }

    public List<LabelBean> getHousexqSort() {
        return housexqSort;
    }

    public void setHousexqSort(List<LabelBean> housexqSort) {
        this.housexqSort = housexqSort;
    }

    public List<LabelBean> getHousexqSortSModel() {
        return housexqSortSModel;
    }

    public void setHousexqSortSModel(List<LabelBean> housexqSortSModel) {
        this.housexqSortSModel = housexqSortSModel;
    }

    public List<LabelBean> getXqAveragePrice() {
        return xqAveragePrice;
    }

    public void setXqAveragePrice(List<LabelBean> xqAveragePrice) {
        this.xqAveragePrice = xqAveragePrice;
    }

    public List<LabelBean> getXqAveragePriceSModel() {
        return xqAveragePriceSModel;
    }

    public void setXqAveragePriceSModel(List<LabelBean> xqAveragePriceSModel) {
        this.xqAveragePriceSModel = xqAveragePriceSModel;
    }

    public List<LabelBean> getHousebuildlx() {
        return housebuildlx;
    }

    public void setHousebuildlx(List<LabelBean> housebuildlx) {
        this.housebuildlx = housebuildlx;
    }

    public List<LabelBean> getHousebuildlxSModel() {
        return housebuildlxSModel;
    }

    public void setHousebuildlxSModel(List<LabelBean> housebuildlxSModel) {
        this.housebuildlxSModel = housebuildlxSModel;
    }

    public List<LabelBean> getReportItem() {
        return reportItem;
    }

    public void setReportItem(List<LabelBean> reportItem) {
        this.reportItem = reportItem;
    }

    public List<LabelBean> getStoreFeedItem() {
        return storeFeedItem;
    }

    public void setStoreFeedItem(List<LabelBean> storeFeedItem) {
        this.storeFeedItem = storeFeedItem;
    }

    public List<LabelBean> getIndustryType() {
        return IndustryType;
    }

    public void setIndustryType(List<LabelBean> industryType) {
        IndustryType = industryType;
    }

    public List<LabelBean> getMainTypes() {
        return MainTypes;
    }

    public void setMainTypes(List<LabelBean> mainTypes) {
        MainTypes = mainTypes;
    }

    public List<LabelBean> getHouseMoreAppVoList() {
        return houseMoreAppVoList;
    }

    public void setHouseMoreAppVoList(List<LabelBean> houseMoreAppVoList) {
        this.houseMoreAppVoList = houseMoreAppVoList;
    }

    public List<LabelBean> getRentMoreAppVoList() {
        return rentMoreAppVoList;
    }

    public void setRentMoreAppVoList(List<LabelBean> rentMoreAppVoList) {
        this.rentMoreAppVoList = rentMoreAppVoList;
    }

    public List<LabelBean> getNewMoreAppVoList() {
        return newMoreAppVoList;
    }

    public void setNewMoreAppVoList(List<LabelBean> newMoreAppVoList) {
        this.newMoreAppVoList = newMoreAppVoList;
    }

    public List<LabelBean> getEntrustAppVoList() {
        return entrustAppVoList;
    }

    public void setEntrustAppVoList(List<LabelBean> entrustAppVoList) {
        this.entrustAppVoList = entrustAppVoList;
    }

    public List<LabelBean> getWebHouseAppVoList() {
        return webHouseAppVoList;
    }

    public void setWebHouseAppVoList(List<LabelBean> webHouseAppVoList) {
        this.webHouseAppVoList = webHouseAppVoList;
    }

    public List<LabelBean> getPayType() {
        return payType;
    }

    public void setPayType(List<LabelBean> payType) {
        this.payType = payType;
    }

    public List<LabelBean> getPayTypeSModel() {
        return payTypeSModel;
    }

    public void setPayTypeSModel(List<LabelBean> payTypeSModel) {
        this.payTypeSModel = payTypeSModel;
    }

    public List<LabelBean> getDistributionType() {
        return distributionType;
    }

    public void setDistributionType(List<LabelBean> distributionType) {
        this.distributionType = distributionType;
    }

    public List<LabelBean> getDistributionTypeSModel() {
        return distributionTypeSModel;
    }

    public void setDistributionTypeSModel(List<LabelBean> distributionTypeSModel) {
        this.distributionTypeSModel = distributionTypeSModel;
    }

    public List<LabelBean> getDistributionFee() {
        return distributionFee;
    }

    public void setDistributionFee(List<LabelBean> distributionFee) {
        this.distributionFee = distributionFee;
    }

    public List<LabelBean> getDistributionFeeSModel() {
        return distributionFeeSModel;
    }

    public void setDistributionFeeSModel(List<LabelBean> distributionFeeSModel) {
        this.distributionFeeSModel = distributionFeeSModel;
    }

    public List<LabelBean> getServerPromise() {
        return serverPromise;
    }

    public void setServerPromise(List<LabelBean> serverPromise) {
        this.serverPromise = serverPromise;
    }

    public List<LabelBean> getServerPromiseSModel() {
        return serverPromiseSModel;
    }

    public void setServerPromiseSModel(List<LabelBean> serverPromiseSModel) {
        this.serverPromiseSModel = serverPromiseSModel;
    }

    public List<LabelBean> getDiscountInfo() {
        return discountInfo;
    }

    public void setDiscountInfo(List<LabelBean> discountInfo) {
        this.discountInfo = discountInfo;
    }

    public List<LabelBean> getDiscountInfoSModel() {
        return discountInfoSModel;
    }

    public void setDiscountInfoSModel(List<LabelBean> discountInfoSModel) {
        this.discountInfoSModel = discountInfoSModel;
    }

    public List<LabelBean> getReceiveLabel() {
        return receiveLabel;
    }

    public void setReceiveLabel(List<LabelBean> receiveLabel) {
        this.receiveLabel = receiveLabel;
    }

    public List<LabelBean> getReceiveLabelSModel() {
        return receiveLabelSModel;
    }

    public void setReceiveLabelSModel(List<LabelBean> receiveLabelSModel) {
        this.receiveLabelSModel = receiveLabelSModel;
    }

    public List<LabelBean> getTopClass() {
        return topClass;
    }

    public void setTopClass(List<LabelBean> topClass) {
        this.topClass = topClass;
    }

    public List<LabelBean> getTopClassSMode() {
        return topClassSMode;
    }

    public void setTopClassSMode(List<LabelBean> topClassSMode) {
        this.topClassSMode = topClassSMode;
    }

    public List<LabelBean> getStoreLabel() {
        return storeLabel;
    }

    public void setStoreLabel(List<LabelBean> storeLabel) {
        this.storeLabel = storeLabel;
    }

    public List<LabelBean> getStoreLabelSModel() {
        return storeLabelSModel;
    }

    public void setStoreLabelSModel(List<LabelBean> storeLabelSModel) {
        this.storeLabelSModel = storeLabelSModel;
    }

    public List<LabelBean> getAgentCompany() {
        return agentCompany;
    }

    public void setAgentCompany(List<LabelBean> agentCompany) {
        this.agentCompany = agentCompany;
    }

    public List<LabelBean> getStoreSort() {
        return storeSort;
    }

    public void setStoreSort(List<LabelBean> storeSort) {
        this.storeSort = storeSort;
    }

    public List<LabelBean> getStoreSortSModel() {
        return storeSortSModel;
    }

    public void setStoreSortSModel(List<LabelBean> storeSortSModel) {
        this.storeSortSModel = storeSortSModel;
    }

    public List<LabelBean> getEvaluateItem() {
        return evaluateItem;
    }

    public void setEvaluateItem(List<LabelBean> evaluateItem) {
        this.evaluateItem = evaluateItem;
    }

    public List<LabelBean> getEvaluateItemSModel() {
        return evaluateItemSModel;
    }

    public void setEvaluateItemSModel(List<LabelBean> evaluateItemSModel) {
        this.evaluateItemSModel = evaluateItemSModel;
    }

    public List<LabelBean> getRiderLabel() {
        return riderLabel;
    }

    public void setRiderLabel(List<LabelBean> riderLabel) {
        this.riderLabel = riderLabel;
    }

    public List<LabelBean> getRiderLabelSModel() {
        return riderLabelSModel;
    }

    public void setRiderLabelSModel(List<LabelBean> riderLabelSModel) {
        this.riderLabelSModel = riderLabelSModel;
    }

    public static class LabelBean {
        private String displayName;
        private String serviceData;
        private String serviceValue;
        private String selectMode;// 选择方式，单选or多选
        private boolean isCheck;// 不是后台返回字段
        private List<LabelBean> displayNameVoList;
        private String serviceType;


        public String getServiceType() {
            return serviceType;
        }

        public void setServiceType(String serviceType) {
            this.serviceType = serviceType;
        }

        public String getSelectMode() {
            return selectMode;
        }

        public void setSelectMode(String selectMode) {
            this.selectMode = selectMode;
        }

        public List<LabelBean> getDisplayNameVoList() {
            return displayNameVoList;
        }

        public void setDisplayNameVoList(List<LabelBean> displayNameVoList) {
            this.displayNameVoList = displayNameVoList;
        }

        public String getDisplayName() {
            return displayName;
        }

        public void setDisplayName(String displayName) {
            this.displayName = displayName;
        }

        public String getServiceData() {
            return serviceData;
        }

        public void setServiceData(String serviceData) {
            this.serviceData = serviceData;
        }

        public String getServiceValue() {
            return serviceValue;
        }

        public void setServiceValue(String serviceValue) {
            this.serviceValue = serviceValue;
        }

        public boolean isCheck() {
            return isCheck;
        }

        public void setCheck(boolean check) {
            isCheck = check;
        }

        @Override
        public boolean equals(@Nullable Object obj) {
            if (obj != null && obj instanceof LabelBean) {
                LabelBean bean = (LabelBean) obj;
                int i =0;
                if(bean.getServiceData()!=null&&serviceData!=null){
                    if(bean.getServiceData().equals(this.serviceData)){
                       i++;
                    }
                }else if(bean.getServiceData()==null&&serviceData==null){
                    i++;
                }
                if(bean.getServiceValue()!=null&&serviceValue!=null){
                    if(bean.getServiceValue().equals(this.serviceValue)){
                       i++;
                    }
                }else if(bean.getServiceValue()==null&&serviceValue==null){
                    i++;
                }
                if(bean.getServiceType()!=null&&serviceType!=null){
                    if(bean.getServiceType().equals(this.serviceType)){
                       i++;
                    }
                }else if(bean.getServiceType()==null&&serviceType==null){
                    i++;
                }
                if(bean.getDisplayName()!=null&&displayName!=null){
                    if(bean.getDisplayName().equals(this.displayName)){
                       i++;
                    }
                }else if(bean.getDisplayName()==null&&displayName==null){
                    i++;
                }
                if(i==4){
                    return true;
                }
            }
            return false;
        }
    }
}
